<?php
namespace app\admin\model;

class Account extends Base
{    
    protected $name = 'user';
    
    //账户查询列表
    public function getAll()
    {
        $data=$this
            ->field('id,username,nickname,real_name,id_card,franchiser_id,password,headimg,email,remark,
                        password2,alipay,wechat,bank_card,gender,address,user_group_id,last_login_at,
                        region_id,device_count,wechat_openid,wechat_nickname,wechat_nickname_urlencode,
                        wechat_headimgurl,created_at,updated_at,edu_bg_id')
           // ->where("deleted_at","exp","is null")
            //->select()
        ;
        //var_dump($data);exit;
        return $data;
    }
}